package com.homedo.odin.solution.model.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.homedo.odin.solution.model.base.BaseBean;
import java.util.Date;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p> 品牌 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
@TableName("brand_owner")
@Data
public class BrandOwnerBean extends BaseBean {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 品牌名称
     */
    @TableField("brand_name")
    private String brandName;
    /**
     * 品牌图标
     */
    @TableField("brand_icon")
    private String brandIcon;
    /**
     * 是否删除 0：否；1：是
     */
    @TableField("is_del")
    private Integer isDel;
    /**
     * 创建人
     */
    @TableField("create_user_name")
    private String createUserName;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("create_time")
    private Date createTime;
    /**
     * 最后修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("last_modified_time")
    private Date lastModifiedTime;
}
